package com.example.Polymorphic;

/*
public class Test2Polymorphic {
    public static void main(String[] args) {
        Fu f = new Zi();
        System.out.println(f.num);
        f.method();
    }
}

class Fu {
    int num = 10;

    public void method() {
        System.out.println("Fu... method");
    }
}

class Zi extends Fu {
    int num = 20;

    public void method() {
        System.out.println("Zi.... method");
    }
}
*/
